import HTTP from '../utils/http';
import { API } from '../config/config';

const POSTER_BOOK = API.POSTER_BOOK;

export default class PosterService extends HTTP {
    getPosterBooktData () {
        return new Promise((resolve, reject) => {
            this.axiosGet({
                url: POSTER_BOOK.GET_POSTER_BOOK_DATA,
                success (data) {
                    resolve(data);
                },
                error (error) {
                    // alert('网络请求失败');
                    console.log(error);
                }
            })
        })
    }
}